home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 7
/
FM Towns Free Software Collection 7.iso
/
taropyon
/
guilib3
/
inc
/
fsm2.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-30
|
1KB
|
37 lines
#ifndef _FSM2_H
#define _FSM2_H
#include <spdefs.h>
#include <fslib.h>
#include <event.h>
#include <dialog.h>
#include <sbar.h>
typedef struct
{
int cd; /* コンディション */
DLG_T *dlg; /* ダイアログ用ワーク */
EVT_T *evt; /* イベント用 */
char *title; /* タイトル */
SBAR_T *sb; /* スクロールバー用 */
char buf[256]; /* 入力ファイル名 */
char drv; /* ドライブ [A:0 [B:1 */
char whare[256]; /* ディレクトリ */
char *wild; /* ワイルドカード */
int sort; /* ソートタイプ */
int fnum; /* ファイル数(ディイレクリも含む) */
WCBUF_T *top_wp; /* ディレクトリバッファ先頭 */
WCBUF_T **wcp; /* バッファ ポインタ ポインタ */
int err; /* エラーフラグ */
} FSM_T;
#define FSCD_CRTSAVE (0x20) /* カレントディレクトリ状態保存 */
extern FSM_T *FSM_open( int attr );
extern void FSM_close( FSM_T *fs );
extern int FSM_set_title( FSM_T *fs, CONST char *title, ... );
extern int FSM_start( FSM_T *fs, char *buf );
#endif